package com.ssrs.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ssrs.platform.model.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 系统用户表 Mapper 接口
 * </p>
 *
 * @author ssrs
 * @since 2020-04-30
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 分页
     *
     * @param page
     * @param params
     * @return
     */
    IPage<User> listPageVo(IPage<User> page, @Param("params") Map<String, Object> params);
}
